package com.mdd.front.vo.wxpay;

import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderV3Request;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class WxPayCreateOrderRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    public interface create{}

    protected String appid;
    protected String mchid;
    protected String description;
    protected String outTradeNo;
    protected String timeExpire;
    protected String attach;
    private String notifyUrl;
    private String goodsTag;
    private WxPayUnifiedOrderV3Request.Amount amount;
    private WxPayUnifiedOrderV3Request.Payer payer;
    private WxPayUnifiedOrderV3Request.Discount detail;
    private WxPayUnifiedOrderV3Request.SceneInfo sceneInfo;
    private WxPayUnifiedOrderV3Request.SettleInfo settleInfo;
    @NotNull(message = "orderId参数不能为空")
    private Integer orderId;
    @NotNull(message = "payChannel参数不能为空")
    private String payChannel;
    @NotNull(message = "scene参数不能为空")
    private String scene;
    @NotNull(message = "payWay不能为空")
    private Integer payWay;

}
